package com.peas.platform.module.icims.contract.initial.dto;

import java.util.*;

import com.peas.platform.common.core.annotation.Comment;
import com.peas.platform.common.core.dto.BaseDto;
import com.peas.platform.framework.mybatisplus.annotation.Condition;
import com.peas.platform.framework.mybatisplus.annotation.ConditionOperator;
import lombok.Data;
import lombok.EqualsAndHashCode;

// 初始合同执行-纠纷
@Data
@EqualsAndHashCode(callSuper = false)
public class ContractInitialDisputeDto extends BaseDto {

    // 合同ID
    // 【初始合同表】
    @Comment(value = "合同ID")
    private Long contractInitialId;

    // 批次号
    @Comment(value = "批次号")
    private String batch;

    // 纠纷经办人
    // 【用户表】
    @Comment(value = "纠纷经办人")
    private Long disputeUserId;

    // 合同纠纷原因
    @Comment(value = "合同纠纷原因")
    private String disputeReason;

    // 对方意见
    @Comment(value = "对方意见")
    private String disputeSecond;

    // 对方意见记录时间
    @Comment(value = "对方意见记录时间")
    private Date disputeSecondTime;

    // 我方意见
    @Comment(value = "我方意见")
    private String disputeFirst;

    // 我方意见记录时间
    @Comment(value = "我方意见记录时间")
    private Date disputeFirstTime;

    // 处理结果
    @Comment(value = "处理结果")
    private String disputeResult;

    // 纠纷状态
    // 枚举取值:ContractInitialDisputeState
    @Comment(value = "纠纷状态", enumType = "ContractInitialDisputeState")
    @Condition(operator = ConditionOperator.IN)
    private String state;

    //Criteria
    private Date createTimeStart;
    private Date createTimeEnd;
    private Date updateTimeStart;
    private Date updateTimeEnd;
    private Date disputeSecondTimeStart;
    private Date disputeSecondTimeEnd;
    private Date disputeFirstTimeStart;
    private Date disputeFirstTimeEnd;
}
